<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <link rel="icon" href="/favicon.ico"/>
    <title>01-判断指令（v-if）演示</title>
</head>
<body>
<div id="app">
    <h1>{{message}}</h1>
    <h1 v-if="isShow">你能看见我</h1>
    <h1 v-if="isNotShow">你看不见我</h1>
</div>
<!--<script src="https://unpkg.com/vue@next"></script>-->
<script src="../js/vue.global.js" />
<script>Vue.config.productionTip = false</script>
<script>
    const app={
        data(){
            return {
                message:"hello word!",
                isShow:true,
                isNotShow:false,
            }
        }
    }
    Vue.createApp(app).mount('#app');
</script>
</body>
</html>